import copy
class Solution:
    def __init__(self, max_num, value_num):
        self.max_num = max_num
        self.value_num = value_num
        tmp_list = [None for _ in range(value_num+1)]
        self.combination_list = [copy.deepcopy(tmp_list) for _ in range(max_num+1)]
        for i in range(1, value_num+1):
            self.combination_list[0][i] = 1

    def record_log(self):
        for i,com in enumerate(self.combination_list):
            print(f"{i}: {com}")

    def get_stored_combination_num(self, n, num):
        assert num!=0
        return self.combination_list[n][num]
    
    def store_combination_num(self, n, num, value):
        assert self.combination_list[n][num] is None
        self.combination_list[n][num] = value

    def combination_num(self, n, num):
        re = self.get_stored_combination_num(n, num)
        if re is not None:
            return re
        
        if num==1:
            re = 1 if n<=9 and n>=0 else 0
            self.store_combination_num(n, num, re)
            return re
        
        re = 0
        for try_num in range(0,min(10,n+1)):
            
            re += self.combination_num(n-try_num, num-1)
            # print(f"re = {re}, {try_num} {n} {num}")
        self.store_combination_num(n, num, re)
        return re




if __name__ == '__main__':
    n = int(input())
    s = Solution(50, 4)
    print(s.combination_num(n, 4))

    # s = Solution(10, 2)
    # print(s.combination_num(1, 2))
    # s.record_log()